package net.findkrypton.enume;

import net.jumpengine.enume.EnumIndex;

public enum Level implements EnumIndex{
	easy(0),
	nomal(1),
	hard(2);
	
	int val;
	private Level(int val) {
		this.val=val;
	}
	
	public int getVal() {
		return val;
	}
	
	public static Level get(int val) {
		for(Level level:Level.values()) {
			if(val==level.val)return level;
		}
		return null;
	}
}
